<?php if (!defined('THINK_PATH')) exit(); /*a:4:{s:113:"D:\phpstudy_pro\WWW\qdcrmceshi.com\public/../application/admin\view\qingdongams\department\achievement\index.html";i:1751938036;s:77:"D:\phpstudy_pro\WWW\qdcrmceshi.com\application\admin\view\layout\default.html";i:1746006160;s:74:"D:\phpstudy_pro\WWW\qdcrmceshi.com\application\admin\view\common\meta.html";i:1746006160;s:76:"D:\phpstudy_pro\WWW\qdcrmceshi.com\application\admin\view\common\script.html";i:1746006160;}*/ ?>
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
<title><?php echo (isset($title) && ($title !== '')?$title:''); ?></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<meta name="renderer" content="webkit">
<meta name="referrer" content="never">
<meta name="robots" content="noindex, nofollow">

<link rel="shortcut icon" href="/assets/img/favicon.ico" />
<!-- Loading Bootstrap -->
<link href="/assets/css/backend<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.css?v=<?php echo htmlentities(\think\Config::get('site.version') ?? ''); ?>" rel="stylesheet">

<?php if(\think\Config::get('fastadmin.adminskin')): ?>
<link href="/assets/css/skins/<?php echo htmlentities(\think\Config::get('fastadmin.adminskin') ?? ''); ?>.css?v=<?php echo htmlentities(\think\Config::get('site.version') ?? ''); ?>" rel="stylesheet">
<?php endif; ?>

<!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
<!--[if lt IE 9]>
  <script src="/assets/js/html5shiv.js"></script>
  <script src="/assets/js/respond.min.js"></script>
<![endif]-->
<script type="text/javascript">
    var require = {
        config:  <?php echo json_encode($config ?? ''); ?>
    };
</script>

    </head>

    <body class="inside-header inside-aside <?php echo defined('IS_DIALOG') && IS_DIALOG ? 'is-dialog' : ''; ?>">
        <div id="main" role="main">
            <div class="tab-content tab-addtabs">
                <div id="content">
                    <div class="row">
                        <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
                            <section class="content-header hide">
                                <h1>
                                    <?php echo __('Dashboard'); ?>
                                    <small><?php echo __('Control panel'); ?></small>
                                </h1>
                            </section>
                            <?php if(!IS_DIALOG && !\think\Config::get('fastadmin.multiplenav') && \think\Config::get('fastadmin.breadcrumb')): ?>
                            <!-- RIBBON -->
                            <div id="ribbon">
                                <ol class="breadcrumb pull-left">
                                    <?php if($auth->check('dashboard')): ?>
                                    <li><a href="dashboard" class="addtabsit"><i class="fa fa-dashboard"></i> <?php echo __('Dashboard'); ?></a></li>
                                    <?php endif; ?>
                                </ol>
                                <ol class="breadcrumb pull-right">
                                    <?php foreach($breadcrumb as $vo): ?>
                                    <li><a href="javascript:;" data-url="<?php echo htmlentities($vo['url'] ?? ''); ?>"><?php echo htmlentities($vo['title'] ?? ''); ?></a></li>
                                    <?php endforeach; ?>
                                </ol>
                            </div>
                            <!-- END RIBBON -->
                            <?php endif; ?>
                            <div class="content">
                                <link href="/assets/addons/qingdongams/css/index.css?v=<?php echo \think\Config::get('site.version'); ?>" rel="stylesheet">

<div class="panel panel-default panel-intro">
    <?php echo build_heading(); ?>

    <div class="panel-heading">
        <ul class="nav nav-tabs" role="tablist">
            <li role="presentation" class="active">
                <a href="#basic" aria-controls="profile" role="tab"
                                                      data-toggle="tab">员工目标</a>
            </li>
        </ul>

    </div>
    <div class="panel-body">

        <div id="myTabContent" class="tab-content">
            <div role="tabpanel" class="tab-pane fade active in" id="basic">
                <div id="toolbar" class="toolbar">
                    <?php echo build_toolbar('refresh'); ?>
                    <a class="btn btn-danger <?php echo $auth->check('qingdongams/department/achievement/add')?'':'hide'; ?> btn-dialog" data-refresh="true"  data-url="qingdongams/department/achievement/add" data-area='["90%","90%"]'
                       data-title="设置个人目标">设置个人目标</a>
                    <a class="btn btn-default <?php echo $auth->check('qingdongams/department/achievement/records')?'':'hide'; ?> btn-dialog" data-refresh="true"  data-url="qingdongams/department/achievement/records" data-area='["90%","90%"]'
                       data-title="业绩修改记录">业绩修改记录</a>
                </div>
                <table id="table"
                       class="table table-striped table-bordered table-hover table-nowrap"
                       data-operate-save="<?php echo $auth->check('qingdongams/department/achievement/edit'); ?>"
                       data-operate-delete="<?php echo $auth->check('qingdongams/department/achievement/del'); ?>"width="100%">
                </table>
            </div>
        </div>
    </div>

</div>


<script id="searchformtpl" type="text/html">
    <form action="" class="form-horizontal form-commonsearch nice-validator n-default n-bootstrap">
            <div class="row">
                <div class="form-group col-xs-12 col-sm-3 col-md-2 ">
                    <label class="control-label col-xs-4">年份</label>
                    <div class="col-xs-8">
                        <input class="operate" type="hidden" data-name="year" value="eq"/>
                        <select name="year" id="year" class="form-control">
                            <?php if(is_array($years) || $years instanceof \think\Collection || $years instanceof \think\Paginator): if( count($years)==0 ) : echo "" ;else: foreach($years as $key=>$val): ?>
                            <option value="<?php echo $val['id']; ?>"
                                    <?php if(isset($val['selected'])): ?> selected="selected" <?php endif; ?> >
                            <?php echo $val['name']; ?></option>
                            <?php endforeach; endif; else: echo "" ;endif; ?>
                        </select>
                    </div>
                </div>
                <div class="form-group col-xs-12 col-sm-3 col-md-3">
                    <label class="control-label col-xs-4">考核目标</label>
                    <div class="col-xs-8">
                        <input class="operate" type="hidden" data-name="status" value="eq"/>
                        <select name="status" id="status" class="form-control">
                            <option value="1">合同金额</option>
                            <option value="2">回款金额</option>
                        </select>
                    </div>
                </div>
                <div class="form-group col-xs-12 col-sm-3 col-md-3">
                    <label class="control-label col-xs-4">员工</label>
                    <div class="col-xs-8">
                        <input class="operate" type="hidden" data-name="staff_id" value="eq"/>
                        <select name="staff_id" class="form-control">
                            <option value="">全部</option>
                            <?php if(is_array($staffs) || $staffs instanceof \think\Collection || $staffs instanceof \think\Paginator): if( count($staffs)==0 ) : echo "" ;else: foreach($staffs as $key=>$val): ?>
                            <option value="<?php echo $val['id']; ?>"><?php echo $val['name']; ?></option>
                            <?php endforeach; endif; else: echo "" ;endif; ?>
                        </select>
                    </div>
                </div>

                <div class="form-group col-xs-12 col-sm-6 col-md-2">
                    <div class="col-sm-8 col-xs-offset-4">
                        <button type="submit" class="btn btn-success" formnovalidate="">搜索</button>
                    </div>
                </div>
            </div>
    </form>
</script>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <script src="/assets/js/require.min.js" data-main="/assets/js/require-backend<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.js?v=<?php echo htmlentities($site['version'] ?? ''); ?>"></script>

    </body>
</html>
